<?php 
namespace Index\Model;
use Think\Model;
/**
 * 问题表模型
 */
class QuestionModel extends Model {
	
	public function hotview()
	{

		return $this->field('id,title,view_num')->order('view_num desc')->limit(10)->select();
	}

	
	
}

 ?>